IXyyDataSeries

StockSharp.Xaml.Charting.Model.DataSeries

Defines the templated interface to an Xyy DataSeries, a series containing X, Y0 and Y1 data-points

Implements: IDataSeries<T, T>, IDataSeries, ISuspendable, IXyyDataSeries

Properties

Y1Values
public IList<TY> Y1Values { get; }
value = iXyyDataSeries.Y1Values

Gets the Y1 values

Methods

Append
public void Append(TX x, TY y0, TY y1)
iXyyDataSeries.Append(x, y0, y1)

Appends a single X, Y0, Y1 point to the series, automatically triggering a redraw

x
The X-value
y0
The Y0-value
y1
The Y1-value
Append
public void Append(IEnumerable<TX> x, IEnumerable<TY> y0, IEnumerable<TY> y1)
iXyyDataSeries.Append(x, y0, y1)

Appends a collection of X, Y0 and Y1 points to the series, automatically triggering a redraw

x
The X-values
y0
The Y0-values
y1
The Y1-values
Insert
public void Insert(int index, TX x, TY y0, TY y1)
iXyyDataSeries.Insert(index, x, y0, y1)

Inserts an X, Y0, Y1 point at the specified index. Automatically triggers a redraw

index
The index to insert at
x
The X-value
y0
The Y0-value
y1
The Y1-value
InsertRange
public void InsertRange(int startIndex, IEnumerable<TX> x, IEnumerable<TY> y0, IEnumerable<TY> y1)
iXyyDataSeries.InsertRange(startIndex, x, y0, y1)

Inserts a collection of X, Y0 and Y1 points at the specified index, automatically triggering a redraw

startIndex
The index to insert at
x
The X-values
y0
The Y0-values
y1
The Y1-values
Update
public void Update(TX x, TY y0, TY y1)
iXyyDataSeries.Update(x, y0, y1)

Updates (overwrites) the Y0, Y1 values at the specified X-value. Automatically triggers a redraw

x
The X-value
y0
The Y0-value
y1
The Y1-value